package com.springboot.project.common.service.impl;

import com.springboot.project.common.entity.Dict;
import com.springboot.project.common.dao.DictDao;
import com.springboot.project.common.service.DictService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 系统字典
 *
 * @author lby
 * @email 2571664742@qq.com
 * @date 2018-07-01
 */
@Service
public class DictServiceImpl extends ServiceImpl<DictDao, Dict> implements DictService {

    @Override
    public List<Dict> list(Map<String, Object> map) {
        return baseMapper.list(map);
    }

	@Override
	public int count(Map<String, Object> map){
		return baseMapper.count(map);
	}
}
